package org.xdq.demo.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.xdq.demo.model.Employee;

import java.util.List;

public interface TestDao {

    //@Select("select * from t_emp")
    List<Employee> findEmpList();
    @Delete("delete from t_emp where e_id = #{id}")
    void deleteEmployee(String id);

    void deleteEmployees(@Param("eids") String[] eids);
}
